import request from '@/api/request'

export function findMaterialByPage(start,limit) {
  return request({
    url: `/lejuAdmin/material/findMaterialByPage/${start}/${limit}`,
    method: 'get'
  })
}

export function delMaterial(id) {
    return request({
      url: `/lejuAdmin/material/delMaterial/${id}`,
      method: 'DELETE'
    })
}
  
export function uploadFileOssSave(data) {
  return request({
    url: `/lejuAdmin/material/uploadFileOssSave`,
    method: 'post',
    data
  })
}
  